package com.bwie.common.domaintoo.response;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @className: CouponResponse
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/10/3 22:31
 */
@Data
public class CouponResponse {
    private Integer id;  //id
    private String couponName;//优惠卷名称
    private String couponType;//优惠卷类型
    private String applyType;//适用类型
    private Integer discountValue;//面值
    private String receive;//领取方式

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiveDate;//活动开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date usageTime;//活动结束时间
    private Integer num;//限量
    private String img;//领取方式
}
